package com.anysoft.web;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.webkit.WebView;

import com.anysoft.me.base.BaseWebViewActivity;
import com.anysoft.utils.CommonUtil;


/**
 * Created by lty on 2017/11/9.
 * 快速入口-转换查询
 */

public class TransformQueryActivity extends BaseWebViewActivity {

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    protected void onPause() {
        super.onPause();
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        isShowTitleBar(true);
        titlebar.setVisibility(View.VISIBLE);
        rl_title_layout_2.setVisibility(View.GONE);
        title.setText("转换查询");
        loadUrl = "http://www.icbccs.com.cn/activity/gyzhtools/index.html";
        if (CommonUtil.isNetWorkConnected(this)) {
            setWebViewConfig(loadUrl);
        }
    }

    @Override
    public void onshouldOverrideUrlLoadingCallBack(WebView webview, String url) {
        webview.loadUrl(url);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }
}
